package com.ctsi.ssdc.repository;

import com.ctsi.ssdc.domain.LitemallSearchHistory;
import com.ctsi.ssdc.domain.LitemallSearchHistoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Param;

/**
 * @author ctsi-biyi-generator
*/
@Mapper
public interface LitemallSearchHistoryRepository extends BaseRepository<LitemallSearchHistory, Integer, LitemallSearchHistoryExample> {
    @Override
    long countByExample(LitemallSearchHistoryExample example);

    @Override
    int deleteByExample(LitemallSearchHistoryExample example);

    @Override
    int deleteByPrimaryKey(Integer id);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insert(LitemallSearchHistory record);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insertSelective(LitemallSearchHistory record);

    @Override
    List<LitemallSearchHistory> selectByExample(LitemallSearchHistoryExample example);

    @Override
    LitemallSearchHistory selectByPrimaryKey(Integer id);

    @Override
    int updateByExampleSelective(@Param("record") LitemallSearchHistory record, @Param("example") LitemallSearchHistoryExample example);

    @Override
    int updateByExample(@Param("record") LitemallSearchHistory record, @Param("example") LitemallSearchHistoryExample example);

    @Override
    int updateByPrimaryKeySelective(LitemallSearchHistory record);

    @Override
    int updateByPrimaryKey(LitemallSearchHistory record);

    List<LitemallSearchHistory> selectByExampleSelective(LitemallSearchHistoryExample example, LitemallSearchHistory.Column keyword);

    void logicalDeleteByExample(LitemallSearchHistoryExample example);
}